FROM openjdk:8-jre
ADD edu-course-boot.jar edu-course-boot.jar
VOLUME /tmp
COPY agent/ /opt/skyagent
ENV JAVA_OPTS="-server -Xmx256m -Xms256m" AGENT_SERVICE_NAME="default" AGENT_COLLETOR_ADDRESS="192.168.3.7:11800"
ENTRYPOINT java -javaagent:/opt/skyagent/skywalking-agent.jar=agent.service_name=fw-course,collector.backend_service=192.168.3.7:11800 -jar /edu-course-boot.jar